	<?php
		$check = true;
		if(strpos($this->uri->uri_string(),"sessions/login") !== FALSE)
			$check = false;
		if(strpos($this->uri->uri_string(),"sessions/switchUser") !== FALSE)
			$check = false;
		else if(strpos($this->uri->uri_string(),"page/") !== FALSE)
			$check = false;
	?>
	<?php if($check){?>
	<div class="footer">
      <?php echo date('Y')?> &copy; Sekolah Dasar Islam Terpadu Dar El Iman Kota Padang
      <div class="span pull-right">
         <span class="go-top"><i class="icon-angle-up"></i></span>
      </div>
   </div>
	<?php }else{?>
   <div class="copyright"><p>Jln. Gajah Mada Gg. Bpkp II Nanggalo</p>
   <p>Kota Padang, Provinsi Sumatera Barat, Telp (0751) 23541</p>
		<?php echo date('Y')?> &copy; Rianto 1101091015 Manajemen Informatika
	</div>
   <?php } ?>
	<!-- BEGIN CORE PLUGINS --> 
   <!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->  
   <script src="<?php echo base_url()?>template/plugins/jquery-ui/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>      
   <script src="<?php echo base_url()?>template/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
   <!--[if lt IE 9]>
   <script src="<?php echo base_url()?>template/plugins/excanvas.js"></script>
   <script src="<?php echo base_url()?>template/plugins/respond.js"></script>  
   <![endif]-->   
   <script src="<?php echo base_url()?>template/plugins/breakpoints/breakpoints.js" type="text/javascript"></script>  
   <!-- IMPORTANT! jquery.slimscroll.min.js depends on jquery-ui-1.10.1.custom.min.js --> 
   <script src="<?php echo base_url()?>template/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
   <script src="<?php echo base_url()?>template/plugins/jquery.blockui.js" type="text/javascript"></script>  
   <script src="<?php echo base_url()?>template/plugins/jquery.cookie.js" type="text/javascript"></script>
   <script src="<?php echo base_url()?>template/plugins/uniform/jquery.uniform.min.js" type="text/javascript" ></script> 
   <!-- END CORE PLUGINS -->
   
   <script type="text/javascript" src="<?php echo base_url()?>template/plugins/gritter/js/jquery.gritter.js"></script>
   <script src="<?php echo base_url()?>template/scripts/app.js" type="text/javascript"></script>
   <?php
	echo isset($js_plugin)?$js_plugin:'';
	?>
	
	<script>
      jQuery(document).ready(function() {    
         App.init(); // initlayout and core plugins
      });
   </script>
   
	<?php
	echo isset($js_init)?$js_init:'';
	?>